Optimal. Leaf size=56 \[ \frac{\cosh (c+d x)}{b d}-\frac{a \tan ^{-1}\left (\frac{\sqrt{b} \cosh (c+d x)}{\sqrt{a-b}}\right )}{b^{3/2} d \sqrt{a-b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0851327, antiderivative size = 56, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.13, Rules used = {3186, 388, 205} \[ \frac{\cosh (c+d x)}{b d}-\frac{a \tan ^{-1}\left (\frac{\sqrt{b} \cosh (c+d x)}{\sqrt{a-b}}\right )}{b^{3/2} d \sqrt{a-b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3186
Rule 388
Rule 205
Rubi steps
\begin{align*} \int \frac{\sinh ^3(c+d x)}{a+b \sinh ^2(c+d x)} \, dx &=-\frac{\operatorname{Subst}\left (\int \frac{1-x^2}{a-b+b x^2} \, dx,x,\cosh (c+d x)\right )}{d}\\ &=\frac{\cosh (c+d x)}{b d}-\frac{a \operatorname{Subst}\left (\int \frac{1}{a-b+b x^2} \, dx,x,\cosh (c+d x)\right )}{b d}\\ &=-\frac{a \tan ^{-1}\left (\frac{\sqrt{b} \cosh (c+d x)}{\sqrt{a-b}}\right )}{\sqrt{a-b} b^{3/2} d}+\frac{\cosh (c+d x)}{b d}\\ \end{align*}
Mathematica [C] time = 0.233537, size = 107, normalized size = 1.91 \[ \frac{\sqrt{b} \cosh (c+d x)-\frac{a \left (\tan ^{-1}\left (\frac{\sqrt{b}-i \sqrt{a} \tanh \left (\frac{1}{2} (c+d x)\right )}{\sqrt{a-b}}\right )+\tan ^{-1}\left (\frac{\sqrt{b}+i \sqrt{a} \tanh \left (\frac{1}{2} (c+d x)\right )}{\sqrt{a-b}}\right )\right )}{\sqrt{a-b}}}{b^{3/2} d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.03, size = 98, normalized size = 1.8 \begin{align*} -{\frac{1}{bd} \left ( \tanh \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) -1 \right ) ^{-1}}+{\frac{1}{bd} \left ( \tanh \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) +1 \right ) ^{-1}}-{\frac{a}{bd}\arctan \left ({\frac{1}{4} \left ( 2\, \left ( \tanh \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}a-2\,a+4\,b \right ){\frac{1}{\sqrt{ab-{b}^{2}}}}} \right ){\frac{1}{\sqrt{ab-{b}^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{{\left (e^{\left (2 \, d x + 2 \, c\right )} + 1\right )} e^{\left (-d x - c\right )}}{2 \, b d} - \frac{1}{8} \, \int \frac{16 \,{\left (a e^{\left (3 \, d x + 3 \, c\right )} - a e^{\left (d x + c\right )}\right )}}{b^{2} e^{\left (4 \, d x + 4 \, c\right )} + b^{2} + 2 \,{\left (2 \, a b e^{\left (2 \, c\right )} - b^{2} e^{\left (2 \, c\right )}\right )} e^{\left (2 \, d x\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.91584, size = 1894, normalized size = 33.82 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]